<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%
			String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
		%>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

		<title>事件的处置建议</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">

		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		
		
	<link rel="stylesheet" type="text/css" href="/ag/wzp/css/eventaccept.css">
	<link rel="stylesheet" type="text/css" href="/ag/wzp/css/popup.css">
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />

<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />

		<link type="text/css" href="/ag/css/ui-lightness/jquery-ui-1.8.4.custom.css" rel="stylesheet" />
		<script type="text/javascript" src="/ag/js/dialog/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="/ag/js/dialog/jquery-ui-1.8.4.custom.min.js"></script>
			<script type="text/javascript" src="/ag/js/jquery.alphanumeric.pack.js"></script>
	<script type="text/javascript" src="/ag/js/jquery.validate.pack.js"></script> 
	
		<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>
			
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script type="text/javascript" src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin/jquery.ui.accordion.js"></script>
	
		<!-- custom -->
		<script type="text/javascript" src="/ag/work/js/adviceApply.js"></script> 
		<script type="text/javascript" src="/ag/dgm/js/disposal_advise.js"></script>
		
	<style type="text/css">
			/*demo page css*/
			
			.demoHeaders { margin-top: 2em; }
			#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
			#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
			ul#icons {margin: 0; padding: 0;}
			ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
			ul#icons span.ui-icon {float: left; margin: 0 4px;}
		</style>
	</head>

	<body>
	 <div>
	 <!-- 
		<select name="type">
			<option value="0000000000">
				选择要查询的处置类型
			</option>
			<option value="0000000000">
				查询全部r
			</option>

			<c:forEach var='type' items='${types}' varStatus='status'>
				<option value=${type.atId } ${atIdString==type.atId?"selected":""}>
				${type.atAdviceType}
				</option>
			</c:forEach>
		</select>
	 -->
		<div style="float:left">事件名称:</div><span class="eventName">${eventName}</span>
		<input type='button' value='请求处置建议' class='disposalAdviceButton'/>
		</div>
	 
	
		<table width="100%" border="0"  cellpadding="0" cellspacing="0">
			<tr height="30">
				<td height="30">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="/ag/tab/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1108" background="/ag/tab/images/tab_05.gif"><img src="/ag/tab/images/311.gif" width="16" height="16" /><span class="STYLE4">处置建议</span></td>
        <td align="center" width="280" background="/ag/tab/images/tab_05.gif"></td>
         <td align="center" width="280" background="/ag/tab/images/tab_05.gif"></td>
        <td width="14" ><img src="/ag/tab/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="9" background="/ag/tab/images/tab_12.gif">
								
							</td>
							<td bgcolor="#dceffd">
								<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#84b1d3">
									<tr>
										<td width="6%" height="18" background="/ag/tab/images/tab_14.gif">
											<div align="center" class="STYLE2 STYLE1">
												查看
											</div>
										</td>
									<!-- 	<td width="10%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												事件编号
											</div>
										</td>
									
										<td width="10%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												处置建议编号
											</div>
										</td>
									-->
										<td width="25%" height="18" background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												处置建议部份详情
											</div>
										</td>
										<td width="7%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												申请人
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												申请时间
											</div>

										</td>
										<td width="15%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												建议人
											</div>

										</td>
										<td width="15%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												建议时间
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												提交人
											</div>

										</td>
										<td width="10%" height="18" 	background="/ag/tab/images/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												提交时间
											</div>
										</td>
										
								
									</tr>

									<c:forEach var='da' items='${tbDisposalAdviceList}' varStatus='status'>
										<tr>
											<td bgcolor="#ffffff">
											 	<div style="cursor:pointer" class="detail">详情</div>
										<!--	<input name="check" type="checkbox" value="1" />-->
											</td>
											<td bgcolor="#ffffff" class='daid' style='display:none'>
												${da.daId}
											</td>
										
											<td bgcolor="#ffffff" class="content_section"></td>
											
											<td bgcolor="#ffffff">
												${da.tbUserByApplyUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daApplyTime}
											</td>
											
											<td bgcolor="#ffffff">
												${da.tbUserByAdviceUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daAcceptTime}
											</td>
											
											<td bgcolor="#ffffff">
												${da.tbUserBySubmitUId.UName}
											</td>
											<td bgcolor="#ffffff">
												${da.daSubmitTime}
											</td>
											
											<td style="display: none" class="content">
												${da.daContent}
											</td>
											<div class='adviceDetail' type='建议详情' name=${da.daId}>${da.daContent}</div>
										</tr>
									</c:forEach>
								</table>
							</td>
							<td width="9" background="/ag/tab/images/tab_16.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
		<tr>
				<td height="29">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="29">
								<img src="images/tab_20.gif" width="15" height="29" />
							</td>
							<td background="images/tab_21.gif" style="width:100%"></td>
							<td width="14">
								<img src="images/tab_22.gif" width="14" height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		
		
		<!-- 弹出窗口的div -->
	<div class="demo">
    <!-- 负责人选择窗口 -->
    <div id="deptChooseWindow">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="DeptForm">
                              <table width="540" align="center">
                              <thead>
                              <tr><td align="left"> 
                              		<div style="margin-top: 5px">受理单号：<span id='eventId' style='color:red;font-size:18'>${eventId}</span></div>
							  		<div style="margin-top: 5px"><span style='float: left;'>建议申请内容*：</span>
									 <textarea id="applyString" cols="20" rows="6">现有"${eventName}"事件,请登陆提交处置建议."</textarea>
									  </div>
								
							   <div class="applyStringLengthLimit" style="display:none">申请内容在70字内且不可为空</div><br/>
							  
									  <div>最迟提交时间*: <input id="lastestTime" type="text" class="Wdate" size="18" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" /></div>
							  <div class="applyStringLengthLimit"style="display:none">时间为必选</div>
							   </td>
							   </tr>
							   <tr>
							   <td>
							    <input value="选择人员" class="showSelectArea" type="button"/><div class="applyStringLengthLimit" style="display:none">专家不可为空</div>
							   </td>
							   </tr>
							   </thead>
                                 <tbody id="selectArea" style="display:none">
									 <tr id='expertArea' >
								  <td align="left">
									   <span class="span_n" >专家领域选择*:</span>
									    <select id="expertAreaList">
									     <option>选择</option>
									    </select>
								  </td>
							   </tr>
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
									   <tr>
									  <td width="200" height="200px" align="right">
										<select style="width:200px" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
									  <td width="80" align="center" > 
									    <img id="addDept" src="/ag/wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="/ag/wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
									  <td width="200" height="200px" align="left" >
                                       <select id="selDepts" name="sel" size="6" multiple="multiple" style="width:200px">
                                       </select>
								      </td>
									</tr>
									  </table>
										 </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						  <tr class="trtab">
          					<td  align="center">
          						<input id='selOk' class="submit" type="button" value="确定"/> 
          						<span style="padding-left:20px">
          						<input id='selCancel' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                            </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	
	</div>
	<!-- 弹出窗口的end -->

		
	<%--	
		<img src="/ag/dgm/images/main_38.gif" width="100%" height="4px" />
		<img src="/ag/dgm/images/main_23.gif" width="100%" height="15px" />
		<br />
		<div style="float: left; font-size: 14;">
			处置建议详情:
		</div>
		<textarea class="content_display" readonly="readonly" rows="13" cols="80"></textarea>

		<div name='alert' title='返回'>--%>
<%--			<p name='alert'></p>--%>
<%--		</div>--%>



	</body>
</html>
